import requset from '@/utils/request'
// 渲染
export function getuserAPI(params) {
  return requset({
    url: '/pole/info/list',
    method: 'get',
    params
  })
}
// 添加
export function createuserAPI(data) {
  return requset({
    url: '/pole/info',
    method: 'POST',
    data
  })
}
// https://api-hmzs.itheima.net/v1/pole/info/{ids}
// 删除
export function delEmployeeAPI(ids) {
  return requset({
    url: `/pole/info/${ids}`,
    method: 'DELETE'
  })
}
// 编辑
export function changeAPI(data) {
  return requset({
    url: '/pole/info',
    method: 'PUT',
    data
  })
}
// 获取下拉列表
export function detailAPI(params) {
  return requset({
    url: '/parking/area/dropList',
    method: 'GET',
    params
  })
}
